package com.system.api.rbac.entity.po;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.yang.database.orm.entity.BaseModel;

/**
 *  
 * @author: lslands
 * @description:   
 * @version：v1.0
 * @date:    2024/6/24 23:05
 */
@Data
@Builder
@NoArgsConstructor
public class SysRoleMenuRelation extends BaseModel {

    /**
     * 角色ID
     * @required
     */
    private Long roleId;

    /**
     * 菜单Id
     * @required
     */
    private Long menuId;



    public SysRoleMenuRelation(Long roleId, Long menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }
}
